package com.org.es5.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.org.es5.support.elasticserach.EsCloumn;
import com.org.platform.utils.CommonUtil;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Description
 * @auther dh
 * @date 2021/12/27 16:16
 */
@Getter
@Setter
@TableName(value = "market_activity_item")
public class MarketItem {

	@TableField(value = "activity_main_id")
	@EsCloumn(name = "activity_main_id")
	private Long activityMainId;

	@TableField(value = "coupon_take_use_type")
	@EsCloumn(name = "coupon_take_use_type")
	private String couponTakeUseType;

	@TableField(value = "select_id")
	@EsCloumn(name = "select_id")
	private String selectId;

	@TableField(value = "store_id")
	@EsCloumn(name = "store_id")
	private Long storeId;

	@TableField(value = "user_store_id")
	@EsCloumn(name = "user_store_id")
	private String userStoreId;

	@TableField(value = "mer_black_white_type")
	@EsCloumn(name = "mer_black_white_type")
	private String merBlackWhiteType;

	@TableField(value = "item_audit_status")
	@EsCloumn(name = "item_audit_status")
	private Integer itemAuditStatus;

	@TableField(value = "select_type")
	@EsCloumn(name = "select_type")
	private String selectType;

//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	@TableField(value = "start_time")
//	@EsCloumn(name = "start_time")
//	private String startTime;
//
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	@TableField(value = "end_time")
//	@EsCloumn(name = "end_time")
//	private String endTime;


}
